<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<div class="modal-dialog ms-modal-dialog" >
    <div class="modal-content">

      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
        <h4 class="modal-title">修改信息</h4>
      </div>

      <form class="form-horizontal ms-form modal-search-form" role="form" method="POST" action="${ctx.host}/suppliers/${supplierId}/supplier-staff/${supplierStaff.id}"
            data-validate="true" data-anchor="#anchor-supplier-staff">
         <div class="modal-body">
         
          <input type="hidden" name="_method" value="PATCH" />
          <input type = "hidden" name="id" value="${supplierStaff.id}">

           <div class="form-horizontal ms-form form-personal-info">
             
            <div class="form-group  ms-form-group">
               <label class="control-label col-xs-4">1&nbsp;<span class="color-red">*</span>关键岗位：</label>
               <div class="col-xs-7 pull-left">
                  <p class="form-control-static">${supplierStaff.keyPost.description} </p>
                  
                </div>
             </div>
             
             <div class="form-group  ms-form-group">
               <label class="control-label col-xs-4">2&nbsp;<span class="color-red">*</span>姓名：</label>
               <div class="col-xs-7 pull-left">
                 <input type="text" name="name" class="form-control" data-validate="required" value="${supplierStaff.name }" placeholder="" tabindex="1" autocomplete="off"/>
               </div>
             </div>
             
             <div class="form-group ms-form-group">
               <label class="control-label col-xs-4 ">3&nbsp;<span class="color-red">*</span>电话：</label>
               <div class="col-xs-7 pull-left">
                 <input type="text" name="telephone" class="form-control" value="${supplierStaff.telephone }" placeholder="" tabindex="1" autocomplete="off" data-validate="required"/>
               </div>
             </div>
             
             <div class="form-group ms-form-group">
               <label class="control-label col-xs-4 ">4&nbsp;<span class="color-red">*</span>手机：</label>
               <div class="col-xs-7 pull-left">
                 <input type="text" name="mobile" class="form-control" value="${supplierStaff.mobile }" placeholder="" tabindex="1" autocomplete="off" data-validate="required|mobile"/>
               </div>
             </div>
    
             <div class="form-group  ms-form-group">
               <label class="control-label col-xs-4" >5&nbsp;<span class="color-red">*</span>Email：</label>
               <div class="col-xs-7 pull-left">
                 <input type="text" name="email" class="form-control" data-validate="required|email" value="${supplierStaff.email }" placeholder="" tabindex="1" autocomplete="off"/>
               </div>
             </div>
             
             <div class="form-group  ms-form-group">
               <label class="control-label col-xs-4">6&nbsp;QQ：</label>
               <div class="col-xs-7 pull-left">
                 <input type="text" name="tencent" class="form-control" data-validate="number" value="${supplierStaff.tencent }" placeholder="" tabindex="1" autocomplete="off"/>
               </div>
             </div>
           </div>
         
         </div>
         <div class="modal-footer ms-modal-footer">
            <button type="submit" class="btn ms-btn btn-primary">确定</button>
            <button type="button" class="btn ms-btn ms-btn-gary" data-dismiss="modal">取消</button>
         </div>
         
      </form>
    </div>
</div>


